function login(){
	alert("login called");
	var sUrl = "/user/login";
	var formObject = document.getElementById('loginForm');
	YAHOO.util.Connect.setForm(formObject);
	var transaction = YAHOO.util.Connect.asyncRequest('POST', sUrl, null, null, false);
	var data = eval('(' + transaction.conn.responseText + ')');
	alert("data.status " + data.status + " data.serviceName " + data.serviceName );
	if(data.status == "ok"){
		document.getElementById('error').innerHTML = "Invalid userName/Password";
		//formObject.submit();
	}

} 
